import { createRouter, createWebHashHistory } from 'vue-router'

const routes = [
  {
    path: '/',
    name: 'myLogin',
    component: () => import('../views/myLogin.vue'),
  },
  {
    path: '/studentList',
    name: 'studentList',
    component: () => import('../views/studentList.vue')
  },
  {
    path: '/workList',
    name: 'workList',
    component: () => import('../views/workList.vue')
  },
  {
    path: '/myDemo',
    name: 'myDemo',
    component: () => import('../views/myDemo.vue')
  },
  {
    path: '/classList',
    name: 'classList',
    component: () => import('../views/classList.vue')
  }
]

const router = createRouter({
  history: createWebHashHistory(),
  routes
})

export default router
